package bigmath;

public class MathExer {
    public static void main(String[] args) {
        boolean[] reds = new boolean[35];
        int n = 0;
        System.out.println("红球：");
        while (n<6){
            int i = (int)(Math.random()*35);
            if (reds[i])continue;
            System.out.println(i+1+"\t");
            reds[i] = true;
            n++;
        }
        System.out.println("蓝球：");
        System.out.println((int)(Math.random()*16+1));
    }
}
